<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Paper_id')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-paper_id" data-rule="required" data-source="paper/index" class="form-control selectpage" name="row[paper_id]" type="text" value="{$row.paper_id}">-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Class')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-class" data-rule="required" class="form-control selectpicker" name="row[class]">
                {foreach name="classList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.class"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" data-rule="required" class="form-control" name="row[num]" type="number" value="{$row.num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Optiona')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-optiona" class="form-control " rows="5" name="row[optiona]" cols="50">{$row.optiona}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Optionb')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-optionb" class="form-control " rows="5" name="row[optionb]" cols="50">{$row.optionb}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Optionc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-optionc" class="form-control " rows="5" name="row[optionc]" cols="50">{$row.optionc}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Optiond')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-optiond" class="form-control " rows="5" name="row[optiond]" cols="50">{$row.optiond}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选项E')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-optione" class="form-control " rows="5" name="row[optione]" cols="50">{$row.optione}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Answer')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-answer" data-rule="required" class="form-control " rows="5" name="row[answer]" cols="50">{$row.answer}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
